
<jsp:directive.page import="action.AddEventAction"/><%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>

<div style="width: 100%; text-align: left; align: left;">
	<table class="onglet"><tr>
		<td><html:link page="/SearchEmploye.do">Search</html:link></td>
		<td><html:link page="/ListEmploye.do">Liste</html:link></td></c:if>
		<td><html:link page="/AddEmploye.do">Add</html:link></td>
		<td>Remove</td>
	</tr></table>
</div>
<div class="ongletline"></div><br />

<html:form action="SelectStatus">
	<html:select property="selectedStatus" onchange="form.submit();">
		<html:option value="admin" />
		<html:option value="manager" />
		<html:option value="chefderayon" />
		<html:option value="employe" />
	</html:select>
</html:form>

<html:form action="Modified">
<table border="0">
	<html:hidden property="deleteempl" value="<%= request.getParameter("deleteempl")%>" />
	<caption>Modifier un employe</caption>
	<tr>
		<td>status</td>
		<td><html:text property="status"></html:text><br/></td>
 	</tr>
	<tr>
		<td>civilite</td>
		<td><html:text property="civilite"></html:text><br/></td>
 	</tr>
 	<tr>
		<td>login</td>
		<td><html:text property="login"></html:text><br/></td>
		<td><html:errors property="nom"/></td>
 	</tr>
	<tr>
		<td>nom</td>
		<td><html:text property="nom"></html:text><br/></td>
		<td><html:errors property="nom"/></td>
 	</tr>
	<tr>
		<td>prenom</td>
		<td><html:text property="prenom" ></html:text><br/></td>
		<td><html:errors property="prenom"/></td>
 	</tr>
 	<tr>
		<td>mail</td>
		<td><html:text property="mail"></html:text><br/></td>
		<td><html:errors property="mail" /></td>
 	</tr>
 	<tr>
		<td>contratHoraire</td>
		<td><html:text property="contratHoraire"></html:text><br/></td>
 	</tr>
 	<tr>
		<td>password</td>
	 	<td><html:password property="password"></html:password></td>
		<td><html:errors property="password" /></td>
	</tr>
 		<tr>
		<td>repassword</td>
	 	<td><html:password property="repassword"></html:password></td>
 		<td><html:errors property="repassword" /></td>
 	</tr>
 	<html:hidden property="status" value="employe" />
 	<tr>
		<td>adresse</td>
		<td><html:text property="adresse"></html:text><br/></td>
 	</tr>
 	<tr>
		<td>code postal</td>
		<td><html:text property="cp"></html:text><br/></td>
 	</tr>
	<tr>
		<td>ville</td>
		<td><html:text property="ville"></html:text><br/></td>
 	</tr>
	<tr>
		<td>telephone</td>
		<td><html:text property="telephone"></html:text><br/></td>
 	</tr>

</table>
<html:submit>Modifier</html:submit>
</html:form>
